import request from "@/utils/request";
export function getCategoryList() {
    return request({
        url:'/categories',
        method:'get'
    })
}

export function getCategoriesOrTags(param) {
    return request({
        url:'/articles/condition',
        method:'get',
        params:param
    })
}
